from selenium import webdriver
import time


# Created with pycharm
# author:ju bai
# Date:2021/7/19
# Time:21:55

# 测试脚本
driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
driver.find_element_by_id("kw").send_keys("福原爱")
driver.find_element_by_id("su").submit()
time.sleep(6)
driver.quit()